﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AnthStat.Domain;

namespace AnthStat.WPF.Applications
{
    public sealed class ProjectTypeViewModel : ViewModelBase
    {
        private string _title = String.Empty;
        private string _description = String.Empty;
        private DataCaptureMode _mode = DataCaptureMode.IndividualAssessments;

        public string Title
        {
            get
            {
                return _title;
            }
            set
            {
                _title = value;
                RaisePropertyChanged("Title");
            }
        }

        public DataCaptureMode DataCaptureMode
        {
            get
            {
                return _mode;
            }
            set
            {
                _mode = value;
            }
        }

        public string Description
        {
            get
            {
                return _description;
            }
            set
            {
                _description = value;
                RaisePropertyChanged("Description");
            }
        }

        public ProjectTypeViewModel(string title, string description, DataCaptureMode mode)
        {
            Title = title;
            Description = description;
            DataCaptureMode = mode;
        }
    }
}
